/*
 ============================================================================
 Name		: ResponseCate1.h
 Author	  : 
 Version	 : 1.0
 Copyright   :
 Description : CResponseCate1 declaration
 ============================================================================
 */

#ifndef ResponsePurchasedOrder_H
#define ResponsePurchasedOrder_H

// INCLUDES
#include <e32std.h>
#include <e32base.h>
#include "ResponseBase.h"

class CResponsePurchasedOrderData;

// CLASS DECLARATION

/**
 *  CResponsePurchasedOrder
 *
 */
class CResponsePurchasedOrder : public CServerResponseBase
{
public:
    // Constructors and destructor

    /**
     * Destructor.
     */
    ~CResponsePurchasedOrder();

    /**
     * Two-phased constructor.
     */
    static CResponsePurchasedOrder* NewL();

    /**
     * Two-phased constructor.
     */
    static CResponsePurchasedOrder* NewLC();

private:

    /**
     * Constructor for performing 1st stage construction
     */
    CResponsePurchasedOrder();

    /**
     * EPOC default constructor for performing 2nd stage construction
     */
    void ConstructL();
protected:
    /**
     *  from CServerResponseBase
     */
    void LoadValidResponseFromXmlNode( CElement* elementResponse );
public:
    CResponsePurchasedOrderData* _data;
};

#endif // ResponsePurchasedOrder_H
